// module.exports = defineConfig({
//   transpileDependencies: true,
// });
let path = require("path");
// const { config } = require("vue/types/umd");
const { defineConfig } = require("@vue/cli-service");
module.exports = defineConfig({
  transpileDependencies: true,
  lintOnSave: false
});
{
	{
		false
	}
}
module.exports  = {
	devServer: {
			proxy: {
				'/api': {
					target: "http://localhost:3000",
					changeOrigin: true,
					pathRewrite: {
						'^/api': '/api'
					}
				}
			},
		},
	configureWebpack:(config) => {
		config.resolve = {
			extensions:['.js','.json','.vue'],
			// 以@代替./src
			alias:{
				'@':path.resolve(__dirname,'./src'),
			}
		}
	}
}
